﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MMS.Model
{
    /// <summary>
    /// 订单状态
    /// </summary>
    public enum OrderState
    {
        /// <summary>
        /// 无效
        /// </summary>
        Invalid,
        /// <summary>
        /// 正常
        /// </summary>
        Normal,
        /// <summary>
        /// 冻结
        /// </summary>
        Frozen
    }
    /// <summary>
    /// 订单信息
    /// </summary>
    public class OrderInfo
    {
        /// <summary>
        /// 订单编号-自增长
        /// </summary>
        public int OrderId
        {
            get;
            set;
        }
        /// <summary>
        /// 订单时间
        /// </summary>
        public DateTime OrderTime
        {
            get;
            set;
        }

        /// <summary>
        /// 订单金额
        /// </summary>
        public double OrderMoney
        {
            get;
            set;
        }

        /// <summary>
        /// 订单状态()
        /// </summary>
        public OrderState OrderState
        {
            get;
            set;
        }

        /// <summary>
        /// 员工ID
        /// </summary>
        public int AdminId
        {
            get;
            set;
        }
    }
}
